package top.ucat.x.system.entity.beans.menu;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import top.ucat.x.system.entity.SysMenu;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MenuTreeVo extends SysMenu implements Serializable {
    private List children = new ArrayList();
    private MenuTreeMeta meta;
    private String label;

    public void setMetaIl8n(String il8n) {
        meta = new MenuTreeMeta(il8n);
    }
}

